package com.jmb.api.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.jmb.api.model.entity.Project;
import com.baomidou.mybatisplus.extension.service.IService;
import com.jmb.api.vo.project.ProjectVo;
import jakarta.validation.Valid;

/**
* @author jinbo
* @description 针对表【project】的数据库操作Service
* @createDate 2025-04-08 13:53:56
*/
public interface ProjectService extends IService<Project> {

    void saveProject(ProjectVo projectVo);

    void updateProject(@Valid ProjectVo projectVo);

    IPage<ProjectVo> getProjectList(IPage<ProjectVo> page, String name,String domain);

    ProjectVo getProjectById(Integer projectId);
    Long getProjectCount(Integer projectId);
    Project getProject(Project project);
}
